//Deepseek API configuration
const DEEP_SEEK_BASE_URL = process.env.DEEP_SEEK_BASE_URL || "https://api.deepseek.com/chat/completions";
const DEEP_SEEK_KEY = process.env.DEEP_SEEK_KEY || "sk-f5dd94f4345e476f8b809"; 
// SILICON_FLOW API configuration
const SILICON_FLOW_BASE_URL = process.env.SILICON_FLOW_BASE_URL || "https://api.siliconflow.cn/v1/chat/completions";
const SILICON_FLOW_KEY = process.env.SILICON_FLOW_KEY || "sk-nvukwtrxtylbtzdvoqgpkmoqeusinxedmrv"; 
// ALIBABA_BAILIAN API configuration
const ALIBABA_BAILIAN_BASE_URL = process.env.ALIBABA_BAILIAN_BASE_URL || "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions";
const ALIBABA_BAILIAN_KEY = process.env.ALIBABA_BAILIAN_KEY || "sk-ca0e12f0fd4c4"; 
// HUOSHAN API configuration
const HUOSHAN_BASE_URL = process.env.HUOSHAN_BASE_URL || "https://ark.cn-beijing.volces.com/api/v3/chat/completions";
const HUOSHAN_KEY = process.env.HUOSHAN_KEY || "f9238e87-972b-"; 

export const APIS = [
  {
    name: "火山方舟 Deepseek-R1 API",
    url: HUOSHAN_BASE_URL,
    model: "ep-20250321150227-ppcjj",
    key: HUOSHAN_KEY,
    tokenPath: "usage.total_tokens",
    type: "R1",
    vendor: "火山方舟"
  },
  {
    name: "Deepseek官方 Deepseek-V3 API",
    url: DEEP_SEEK_BASE_URL,
    model: "deepseek-chat",
    key: DEEP_SEEK_KEY,
    tokenPath: "usage.total_tokens",
    type: "V3",
    vendor: "Deepseek官方"
  },
  {
    name: "Deepseek官方 Deepseek-R1 API",
    url: DEEP_SEEK_BASE_URL,
    model: "deepseek-reasoner",
    key: DEEP_SEEK_KEY,
    tokenPath: "usage.total_tokens",
    type: "R1",
    vendor: "Deepseek官方"
  },
  {
    name: "硅基流动 Deepseek-R1(Pro) API",
    url: SILICON_FLOW_BASE_URL,
    model: "Pro/deepseek-ai/DeepSeek-R1",
    key: SILICON_FLOW_KEY,
    tokenPath: "usage.total_tokens",
    type: "R1",
    vendor: "硅基流动"
  },
  {
    name: "阿里百练 Deepseek-R1 API",
    url: ALIBABA_BAILIAN_BASE_URL,
    model: "deepseek-r1",
    key: ALIBABA_BAILIAN_KEY,
    tokenPath: "usage.total_tokens",
    type: "R1",
    vendor: "阿里百练"
  }
];
